#include "SSLServer.h"


#include "core/core.h"


SSLServer::SSLServer(QObject *parent)
	: QTcpServer(parent)
{
	m_thread.start();
}

SSLServer::~SSLServer(){

}

void SSLServer::incomingConnection (int socketDescriptor){
	qDebug("SSLServer::incomingConnection(%d)", socketDescriptor);

	//QMetaObject::invokeMethod( &m_thread, "bindSocket",
	//						   Q_ARG(int, socketDescriptor) );
	m_thread.bindSocket( socketDescriptor );


}

